package com.kvest.ula.activities;

import com.kvest.ula.R;

import android.app.Activity;
import android.os.Bundle;
import android.view.Gravity;
import android.widget.TextView;

public class ULABaseActivity extends Activity
{
	@Override
    public void onCreate(Bundle savedInstanceState) 
    {
        super.onCreate(savedInstanceState);
       
        //Set title bar
        TextView title = (TextView)getWindow().findViewById(android.R.id.title);
        if (title != null)
        {
        	title.setTextColor(getResources().getColor(R.color.title_text_color));	
        	title.setGravity(Gravity.CENTER);
        	title.setTextSize(getResources().getDimension(R.dimen.title_text_size));
        }
    }

}
